<?php include './application/views/common/zhs_header.php';?>

<?php include './application/views/common/zhs_usercenter_acnt.php';?>
<div class="inv_box w">
<?php include './application/views/common/zhs_usercenter_left.php';?>
 
<div class="membd_right">
  <h3 class="membdrg_tit">我的形象</h3>
  <div class="membox_bd">
  		<div class="user_right_border" style="text-align: center">
			<img src="<?php echo $hdata1['photo1'];?>" style="padding:2px;width:100px; height:100px;"/>
			
		</div>

		<div class="user_right_border" style="text-align: center" id="altContent">
			<!-- 
			<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="650" HEIGHT="450" id="myMovieName">
<PARAM NAME=movie VALUE="avatar.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="/static/avatar/avatar.swf" quality=high bgcolor=#FFFFFF WIDTH="650" HEIGHT="450" wmode="transparent" flashVars="imgUrl=/static/avatar/default.jpg&uploadUrl=/user/photo/upfile&uploadSrc=false"
NAME="myMovieName" TYPE="application/x-shockwave-flash" allowScriptAccess="always">
</EMBED>
</OBJECT>
-->
			<?php 
			require_once('./static/avatar/configs.php');
			require_once('./static/avatar/avatar.class.php');
			$objAvatar = new Avatar();
			echo $objAvatar->uc_avatar($user['user_id'], 'virtual');
			?>
	  	</div>
 
       <script type="text/javascript">
   function uploadevent(status){
	//alert(status);
        status += '';
     switch(status){
     case '1':
		var time = new Date().getTime();
		window.location.reload();
		
	break;
     break;
     case '-1':
	  window.location.reload();
     break;
     default:
     window.location.reload();
    } 
   }
  </script>  
   </div>  
  </div>
</div> 
<?php include './application/views/common/zhs_footer.php';?>

<?php include './application/views/common/zhs_right.php';?>

